import * as types from './mutation-types'

export const setCategory = function ({commit}, data) {
  commit(types.SET_CATEGORY, data)
}
export const setType = function ({commit}, data) {
  commit(types.SET_TYPE, data)
}
export const setCategoryID = function ({commit}, data) {
  commit(types.SET_CATEGORYID, data)
}
export const setSearchValue = function ({commit}, data) {
  commit(types.SET_SEARCHVALUE, data)
}


